package com.sxj.corejava.code15_反射;

/**
 * @author 石小俊
 */
public class Person {

    public String name;
    private int age;

    public void work() {
        System.out.println("这是父类Person中的public修饰的work方法");
    }

    private void shopping() {
        System.out.println("这是父类Person中的private修饰的shopping方法");
    }

    public int add(int i, int j) {
        System.out.println("Person.add");
        return i + j;
    }

}
